package com.dj.mingkong.common.exception;

/**
 * @author zenglonghui
 * @date: 2022/5/17 17:59
 */
public class BizException extends BaseRuntimeException {
    public BizException(String info) {
        super(ExceptionCode.FAIL.getCode(), info);
    }

    public BizException(String code, String info) {
        super(code, info);
    }

    public BizException(String code, String info, Throwable throwable) {
        super(code, info, throwable);
    }

    public BizException(String info, Throwable throwable) {
        super("500", info, throwable);
    }
}
